package com.haisen.dataobject.mapper.base;

import com.haisen.core.utils.MyMapper;
import com.haisen.dataobject.entity.ItemParamKey;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ItemParamKeyMapper extends MyMapper<ItemParamKey> {

    @Select("select id,param_name as 'paramName',group_id as 'groupId' from tb_item_param_key where group_id = #{0}")
    List<ItemParamKey> selectByGroupId(Long gid);

}